package com.franklin.ideaplugin.api.beans;

import com.alibaba.fastjson2.annotation.JSONType;
import com.franklin.ideaplugin.api.json.fastjson2.PresentableJsonBeanSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Ye Junhui
 * @since 2023/7/2 16:51
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@JSONType(serializer = PresentableJsonBeanSerializer.class)
public class FileClass implements IPresentableJsonBean{

    /**
     * 类全称
     */
    private String qualifiedName;

    /**
     * 文件路径
     */
    private String filePath;

    @Override
    public String presentableString() {
        return this.filePath;
    }
}
